package zzu.mxd.answer.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;


//import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 科目表
 * </p>
 *
 * @author mxd
 * @since 2018-11-08
 */
@Data
@Accessors(chain = true)
@TableName("answer_subject")
public class Subject implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 科目ID
     */
    @ApiModelProperty(value="科目ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 科目名称
     */
    @ApiModelProperty(value="科目名称")
    private String name;

    /**
     * 状态：0 删除 1 正常
     */
    @ApiModelProperty(value="状态：0 删除 1 正常")
    private Integer status;


}
